package com.ccb.jyzx.expand.ouapi.beans;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
import java.util.List;

/**
 * @author XIEFEI
 * @date 2019-11-11 15:11
 * @Description 用户信息
 **/
@ApiModel(description= "用户信息")
public class UserInfo {
    @ApiModelProperty(value = "id")
    private String id;
    /**
     * 登陆账户
     */
    @ApiModelProperty(value = "登陆账户")
    private String userName;
    /**
     * 中文名
     */
    @ApiModelProperty(value = "中文名")
    private String name;
    /**
     * 状态:1 正常  0 停用
     */
    @ApiModelProperty(value = "状态:1 正常  0 停用")
    private int state;
    /**
     * 所在部门id
     */
    @ApiModelProperty(value = "所在部门id")
    private String ownerDept;
    /**
     * 所在组织id
     */
    @ApiModelProperty(value = "所在组织id")
    private String ownerOrganization;
    /**
     * 人员编号
     */
    @ApiModelProperty(value = "人员编号")
    private String perNum;
    /**
     * 排序号
     */
    @ApiModelProperty(value = "排序号")
    private String orderNum;
    /**
     * 部门信息
     */
    @ApiModelProperty(value = "部门信息")
    private DepartmentInfo  departmentInfo;
    /**
     * 组织信息
     */
    @ApiModelProperty(value = "组织信息")
    private OrganiztionInfo organiztionInfo;

    /**
     * 岗位信息
     */
    @ApiModelProperty(value = "岗位信息")
    List<DutyInfo> dutyInfo;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getOwnerDept() {
        return ownerDept;
    }

    public void setOwnerDept(String ownerDept) {
        this.ownerDept = ownerDept;
    }

    public String getOwnerOrganization() {
        return ownerOrganization;
    }

    public void setOwnerOrganization(String ownerOrganization) {
        this.ownerOrganization = ownerOrganization;
    }

    public String getPerNum() {
        return perNum;
    }

    public void setPerNum(String perNum) {
        this.perNum = perNum;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    public DepartmentInfo getDepartmentInfo() {
        return departmentInfo;
    }

    public void setDepartmentInfo(DepartmentInfo departmentInfo) {
        this.departmentInfo = departmentInfo;
    }

    public OrganiztionInfo getOrganiztionInfo() {
        return organiztionInfo;
    }

    public void setOrganiztionInfo(OrganiztionInfo organiztionInfo) {
        this.organiztionInfo = organiztionInfo;
    }

    public List<DutyInfo> getDutyInfo() {
        return dutyInfo;
    }

    public void setDutyInfo(List<DutyInfo> dutyInfo) {
        this.dutyInfo = dutyInfo;
    }
}
